BlockImgs = new Array(R.Blocks.length);
BlockConfigs = new Array(R.Blocks.length);
LetterImgs = new Array(R.Letters.length);
Content = cc.rect(0, 0, C.BlockSize, C.BlockSize);
for (let i = 0; i < BlockImgs.length; i++) {
	BlockImgs[i] = cc.SpriteFrame.create(R.Blocks[i], Content);
	BlockConfigs[i] = {};
}
for (let i = 0; i < LetterImgs.length; i++) LetterImgs[i] = cc.SpriteFrame.create(R.Letters[i], Content);
delete Content;
isBlock = function(id, key) {
	return key in BlockConfigs[id];
};